<template>
  <div class="solution-service-plan">
    <div class="container">
      <h1>解决方案服务案例</h1>

      <div class="top-section">
        <div class="card problem-card">
          <div class="card-content">
            <h2>问题</h2>
            <p>南方电网公司大量退运的电力装备需紧急处置，考虑成本节约，企业希望将物资直接运输或拍卖的方式出售，但因无法有效评估其价值，一直无法寻找到需求方。</p>
          </div>
        </div>
        <div class="card target-card">
          <div class="card-content">
            <h2>目标</h2>
            <p>通过专业的价值评估，找出最佳的处置方案，并以此作为决策基础，与需求方进行合作。</p>
          </div>
        </div>
      </div>

      <div class="solution-title">解决方案</div>
      <div class="middle-section-wrapper">
        <div class="middle-section-card">
          <div class="middle-section">
            <div class="solution-card">
              <div class="card-content">
                <div class="icon">
                  <svg viewBox="0 0 24 24" fill="currentColor">
                    <path d="M19 2H5C3.9 2 3 2.9 3 4V20C3 21.1 3.9 22 5 22H19C20.1 22 21 21.1 21 20V4C21 2.9 20.1 2 19 2M16 17H8V15H16V17M16 13H8V11H16V13M16 9H8V7H16V9Z" />
                  </svg>
                </div>
                <h3>分类分级盘点</h3>
                <p>对现场及已归档电力装备进行全面盘点，根据用途、品类、名称、规格型号、成色类型进行分类分级分别录入系统</p>
              </div>
            </div>
            <div class="solution-card">
              <div class="card-content">
                <div class="icon">
                  <svg viewBox="0 0 24 24" fill="currentColor">
                    <path d="M12 12C14.21 12 16 13.79 16 16S14.21 20 12 20 10 18.21 10 16 11.79 12 12 12M12 8C9.79 8 8 9.79 8 12S9.79 16 12 16 14 14.21 14 12 12.21 8 12 8M12 4C16.42 4 20 7.58 20 12S16.42 20 12 20 4 16.42 4 12 7.58 4 12 4M12 2C6.47 2 2 6.47 2 12S6.47 22 12 22 22 17.53 22 12 17.53 2 12 2Z" />
                  </svg>
                </div>
                <h3>评估鉴定</h3>
                <p>根据盘点结果，对电力装备的性能、结构、损坏程度、附属物、安装和拆卸等情况进行综合评定，确定是否仍可再利用或转售</p>
              </div>
            </div>
            <div class="solution-card">
              <div class="card-content">
                <div class="icon">
                  <svg viewBox="0 0 24 24" fill="currentColor">
                    <path d="M21.41 11.59L12 21L2.59 11.59L4 10L12 18L20 10L21.41 11.59M19 8H5V4H19V8Z" />
                  </svg>
                </div>
                <h3>价值确认</h3>
                <p>结合评估结果与市场价格，确定电力装备的处置价格，租赁、报废建议价</p>
              </div>
            </div>
            <div class="solution-card">
              <div class="card-content">
                <div class="icon">
                  <svg viewBox="0 0 24 24" fill="currentColor">
                    <path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M19 19H5V5H19V19M13 17V13H17V11H13V7H11V11H7V13H11V17H13Z" />
                  </svg>
                </div>
                <h3>制定运营方案</h3>
                <p>出具电力装备价值评估报告，涵盖电力装备的建议处置方案，例如选择废旧处置、再制造利用或直接使用等</p>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div class="bottom-section">
        <div class="card effect-card">
          <div class="card-content" style="text-align: left">
            <h2>效果</h2>
            <p>通过实施价值评估方案，南方电网企业成功优化电力装备逆向物流的运营结构，80%以上电力装备实现循环再利用，采购成本降低20%，营收增加12%。</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'SolutionServicePlan'
}
</script>

<style scoped>

.solution-service-plan {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6f8;
  padding: 60px 30px;
  min-height: auto; /* 调整高度 */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.container {
  max-width: 1400px; /* 调整容器宽度 */
  width: 100%;
}

h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 50px;
  font-size: 3.5em;
  font-weight: 700;
}

h2 {
  color: #3498db;
  margin-bottom: 20px;
  font-size: 2.2em;
  font-weight: 600;
  text-align: left;
}

h3 {
  color: #3498db;
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 1.6em;
  font-weight: 500;
}

.solution-title {
  text-align: center;
  color: #3498db;
  font-size: 2.5em;
  font-weight: 600;
  margin-bottom: 40px;
}

.top-section {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

.top-section .card {
  width: calc(50% - 60px); /* 加宽顶部卡片 */
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6);

  border: 1px solid #e0e0e0;
  box-sizing: border-box;
}

.top-section .problem-card {
  background-image: url('/src/assets/images/Calculate/back1.jpg'); /* 替换为你的问题背景图片 */
  background-size: cover;
  background-position: center;
}

.top-section .target-card {
  background-image: url('/src/assets/images/Calculate/back2.jpg'); /* 替换为你的目标背景图片 */
  background-size: cover;
  background-position: center;
}

.top-section .card-content {
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.5); /* 设置背景透明度 */
  border-radius: 15px;
  text-align: left;
  box-sizing: border-box;
}

.middle-section-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  width: calc(100% - 40px); /* 设置中间大卡片的宽度与顶部总宽度一致 */
}

.middle-section-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  width: 100%; /* 内部宽度撑满 */
  padding: 40px;
}

.middle-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; /* 调整内部卡片间距 */
}

.solution-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
  padding: 25px;
  margin-bottom: 20px;
  width: calc(50% - 30px); /* 两列布局 */
  box-sizing: border-box;
  text-align: center;
}

.solution-card .icon {
  font-size: 2em;
  color: #3498db;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.solution-card .icon svg {
  width: 50px;
  height: 50px;
}

.solution-card h3 {
  font-size: 1.5em;
  margin-top: 10px;
  margin-bottom: 10px;
}

.solution-card p {
  font-size: 1.1em;
  color: #666;
  line-height: 1.6;
  text-align: left;
}

.bottom-section {
  display: flex;
  justify-content: center;
  width: calc(100% - 40px); /* 设置底部卡片的宽度与顶部总宽度一致 */
}

.bottom-section .effect-card {
  width: 100%; /* 撑满底部容器 */
  background-color: #e3f2fd;
  border: 1px solid #b3d7f5;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.bottom-section .effect-card .card-content {
  padding: 40px;
}

.bottom-section .effect-card h2 {
  text-align: left;
}

.bottom-section .effect-card p {
  font-size: 1.4em;
}

.icon {
  font-size: 2.5em;
  color: #3498db;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon svg {
  width: 40px;
  height: 40px;
}

p {
  color: #555;
  line-height: 1.7;
  font-size: 1.3em;
}

/* 更现代的字体 */
body {
  font-family: 'Open Sans', sans-serif;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* 更柔和的阴影 */
.card {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
}

.card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }

  .top-section .card {
    width: calc(50% - 40px);
  }

  .middle-section-wrapper,
  .bottom-section {
    width: calc(100% - 40px);
  }

  .middle-section-card {
    padding: 30px;
  }
}

@media (max-width: 960px) {
  h1 {
    font-size: 3em;
  }

  .top-section .card {
    width: 80%;
  }

  .middle-section-wrapper,
  .bottom-section {
    width: 80%;
  }

  .middle-section .solution-card {
    width: calc(100% - 20px); /* 小屏幕下改为一列 */
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5em;
    margin-bottom: 40px;
  }

  h2 {
    font-size: 2em;
  }

  .solution-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .top-section .card {
    width: 95%;

  }

  .middle-section-wrapper,
  .bottom-section {
    width: 95%;
  }

  .middle-section-card {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.8em;
  }

  h3 {
    font-size: 1.4em;
  }

  p {
    font-size: 1.2em;
  }
}
</style>